<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <select name="" id="urls" onchange="diss()">
        <option value="" >请选择--</option>
        <option value="https://www.baidu.com">百度</option>
        <option value="https://www.163.com">网易</option>
        <option value="https://www.taobao.com">淘宝</option>
    </select>
    <script type="text/javascript">
        function diss(){
            const urls=document.getElementById('urls').value;
            location.href=urls;
        }
    </script>
</body>
</html>